package com.waitingsnow.common.share.netEaseMicroblog.data
{
	/**
	 *  
	 * @author Tensharp
	 * 
	 * <p>存储所有接口的路径以及api需要的其他部分配置.</p>
	 * 
	 */	
	
	public class NEMConfig
	{
		///
		///	[URL]
		///
		
		public static const BASE_URL:String = "http://api.t.163.com";
		
		///
		///	[Format]
		///
		
		public static const FORMAT:String = "json";
		
		///
		///	[OAuth]
		///
		
		public static const REQUEST_TOKEN:String = "/oauth/request_token";
		public static const AUTHENTICATE:String  = "/oauth/authenticate";
		public static const AUTHORIZE:String     = "/oauth/authorize";
		public static const ACCESS_TOKEN:String  = "/oauth/access_token";
		
		///
		///	[Timeline]
		///
		
		public static const HOME_TIMELINE:String   = "/statuses/home_timeline";
		public static const PUBLIC_TIMELINE:String = "/statuses/public_timeline";
		public static const MENTIONS:String        = "/statuses/mentions";
		public static const USER_TIMELINE:String   = "/statuses/user_timeline";
		public static const RETWEETS_OF_ME:String  = "/statuses/retweets_of_me";
		public static const COMMENTS_BY_ME:String  = "/statuses/comments_by_me";
		public static const COMMENTS_TO_ME:String  = "/statuses/comments_to_me";
		public static const GROUP_TIMELINE:String  = "/statuses/group_timeline";
		
		///
		///	[Statuses]
		///
		
		public static const UPDATE:String       = "/statuses/update";
		public static const REPLY:String        = "/statuses/reply";
		public static const RETWEET:String      = "/statuses/retweet/[id]";
		public static const SHOW:String         = "/statuses/show/[id]";
		public static const DESTROY:String      = "/statuses/destroy/[id]";
		public static const COMMENTS:String     = "/statuses/comments/[id]";
		public static const RETWEETS:String     = "/statuses/retweets/[id]";
		public static const RETWEETED_BY:String = "/statuses/[id]/retweeted_by";
		public static const UPLOAD:String       = "/statuses/upload";
		
		///
		///	[Users]
		///
		
		public static const USER_SHOW:String               = "/users/show";
		public static const SUGGESTIONS:String             = "/users/suggestions";
		public static const SUGGESTIONS_I_FOLLOWERS:String = "/users/suggestions_i_followers";
		public static const USER_GROUPS:String             = "/users/groups";
		public static const MODIFY_USER_GROUPS:String      = "/users/modify_user_groups";
		
		///
		///	[Friendships]
		///
		
		public static const FRIENDSHIP_CREATE:String         = "/friendships/create";
		public static const FRIENDSHIP_DESTROY:String 		 = "/friendships/destroy";
		public static const FRIENDSHIP_SHOW:String    		 = "/friendships/show";
		public static const FRIENDSHIP_FRIENDS:String        = "/statuses/friends";
		public static const FRIENDSHIP_FOLLOWERS:String      = "/statuses/followers";
		public static const FRIENDSHIP_NAMES:String          = "/friends/names";
		public static const FRIENDSHIP_FOLLOWERS_NAME:String = "/statuses/followers/names";

		///
		///
		///
		
		public static const TOP_RETWEETS:String = "/statuses/topRetweets";
		
		public static const RECOMMENDED:String  = "/trends/recommended";
		
		///
		/// [Messages]
		///
		
		public static const DIRECT_MESSAGES:String         = "/direct_messages";
		public static const DIRECT_MESSAGES_SENT:String    = "/direct_messages/sent";
		public static const DIRECT_MESSAGES_NEW:String     = "/direct_messages/new";
		public static const DIRECT_MESSAGES_DESTROY:String = "/direct_messages/destroy";
		public static const DIRECT_MESSAGES_GROUPED:String = "/direct_messages/grouped";
		public static const DIRECT_MESSAGES_SESSION:String = "/direct_messages/session";
		public static const DIRECT_MESSAGES_DELETE:String  = "/direct_messages/session/delete";
		
		///
		///	[Account]
		///
		
		public static const REGISTER:String = "/account/register";
		public static const ACTIVATE:String = "/account/activate";
		public static const UPDATE_PROFILE:String          = "/account/update_profile";
		public static const UPDATE_PROFILE_IMAGE:String    = "/account/update_profile_image";
		public static const VERIFY_CREDENTIALS:String      = "/account/verify_credentials";
		public static const REMINDS_MESSAGE_LATEST:String = "/reminds/message/latest";
		public static const RATE_LIMIT_STATUS:String       = "/account/rate_limit_status";
		
		///
		/// [Favorites]
		///
		
		public static const FAVORITES:String         = "/favorites";
		public static const FAVORITES_CREATE:String  = "/favorites/create";
		public static const FAVORITES_DESTROY:String = "/favorites/destro/[id]";
		
		///
		///	[Blocks]
		///
		
		public static const BLOCKS_CREATE:String       = "/blocks/create";
		public static const BLOCKS_DESTROY:String      = "/blocks/destroy";
		public static const BLOCKS_EXISTS:String       = "/blocks/exists";
		public static const BLOCKS_BLOCKING:String     = "/blocks/blocking";
		public static const BLOCKS_BLOCKING_IDS:String = "/block/blocking/ids";
		
		///
		///	[Locations]
		///
		
		public static const LOCATION_VENUES:String   = "/location/venues";
		public static const LOCATION_TIMELINE:String = "/statuses/location_timeline";
		public static const REPORT:String            = "/location/report";
		public static const SEARCH_NEIGHBORS:String  = "/location/search_neighbors";
		
		///
		/// [Search]
		///	

		public static const SEARCH:String          = "/search";
		public static const STATUSES_SEARCH:String = "/statuses/search";
		public static const USER_SEARCH:String     = "/users/search";
	}
}